package slap.mvc.result;

import slap.http.Request;
import slap.http.Response;
import slap.http.websocket.Inbound;
import slap.http.websocket.Outbound;

/**
 * WebSocket Result support
 */
public abstract class WebSocketResult extends Result {

    public WebSocketResult() {
        super();
    }

    public abstract void apply(Request request, Inbound inbound, Outbound outbound);

    @Override
    public void apply(Request request, Response response) {
        // Do something, we just want to reuse the underlying result mechanism
    }

}
